package com.dashou.service;


import com.dashou.entity.Admin;
import com.dashou.mapper.AdminMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class AdminServiceImpl implements AdminService{

    @Resource

    private AdminMapper adminMapper;

    @Override
    public Admin adminLoginServer(Admin loginAdmin) {
        return adminMapper.adminLoginMapper(loginAdmin);
    }
}
